import axios from '../../axios.js';

const USERS_URL = '/users';

const usersApi = {
    login(data) {
        return axios({
            url: USERS_URL + '/login',
            method: 'post',
            data
        })
    },
    isLogin() {
        return axios({
            url: USERS_URL + '/isLogin',
            method: 'post'
        })
    },
    register() {

    }
}


export default usersApi;